/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.datahandlers;

import com.gui.helper.CustomTableModel;

/**
 *
 * @author sithum
 */
public interface DataHandler {

    public void init(Object controller) throws Exception;

    void addRecord(Object object);

    void addEditRecord(Object key, Object categoryName);

    void editData() throws Exception;

    void saveData() throws Exception;

    CustomTableModel getModel();

    boolean temporaryStorageEmpty();

    boolean tempEditStorageEmpty();

}
